package com.quanyan.user.mq;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by zhang on 16/7/26.
 */
public class UserMedalMsg implements Serializable{

    @NotNull(message = "用户ID不可为空")
    private Integer uid;

    @NotNull(message = "运动项目ID不可为空")
    private Integer categoryId;

    @NotNull(message = "个人勋章ID不可为空")
    private Integer medalId;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getMedalId() {
        return medalId;
    }

    public void setMedalId(Integer medalId) {
        this.medalId = medalId;
    }
}
